//
//  OrderModel.h
//  OrderFood
//
//  Created by leilei on 2018/11/13.
//  Copyright © 2018年 zhiyuan. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

//@class user;
//@class shop;

@interface user : NSObject
@property (strong, nonatomic)NSString     *region;///订单地址1
@property (strong, nonatomic)NSString     *detail;///订单地址2
@property (strong, nonatomic)NSString     *latitude;///地址的纬度
@property (strong, nonatomic)NSString     *longitude;///地址的精度
@property (strong, nonatomic)NSString     *consignee;///用户姓名
@property (strong, nonatomic)NSString     *sex;///用户性别
@property (strong, nonatomic)NSString     *phone;////用户电话
@end

@interface shop : NSObject
@property (strong, nonatomic)NSString     *name;///店铺名字
@property (strong, nonatomic)NSString     *address;///店铺地址
@property (strong, nonatomic)NSString     *latitude;///地址的纬度
@property (strong, nonatomic)NSString     *longitude;///地址的精度
@property (strong, nonatomic)NSString     *phone;///门店电话
@end

@interface OrderModel : NSObject
@property (strong, nonatomic)user *user;/////用户信息
@property (strong, nonatomic)shop *shop;/////商户信息
@property (strong, nonatomic)NSString     *deliveryCommission;///订单金额
@property (strong, nonatomic)NSString     *remark;///订单备注
@property (strong, nonatomic)NSString     *orderId;
@property (strong, nonatomic)NSString     *str1;
@property (strong, nonatomic)NSString     *str2;
@property (strong, nonatomic)NSString     *str3;
@property (strong, nonatomic)NSString     *str4;
///骑手代收货款
@property (strong, nonatomic)NSString     *receiveAmount;


/**
 0 开始配送。 ：/rider/work/order/delivery/confirm
 1 确认送达   ：/rider/work/order/finish
 */
@property (nonatomic, strong) NSNumber *status;
@end




NS_ASSUME_NONNULL_END
